package com.liu.vod;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


// 由于没有加载数据库操作，所以加上exclude = DataSourceAutoConfiguration.class
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = {"com.liu"}) //用于扫描swagger
@EnableDiscoveryClient // 服务发现功能(添加Nacos客户端注解)
public class Service_vod_Main8003 {
    public static void main(String[] args) {
        SpringApplication.run(Service_vod_Main8003.class, args);
    }
}
